package com.successboard.dao;

import java.util.List;
import java.util.Map;

import com.successboard.domain.SuccessBoardCommand;


public interface SuccessBoardDao {

	public int getRowCount(Map<String,Object> map);
	
	public int getReplyRowCount(Integer num);

	public List<SuccessBoardCommand> boardList(Map<String, Object> map);
	
	public List<SuccessBoardCommand> replyList(Integer num);
	
	public String preView(String num);
	
	public void updateReadCount(Integer num);
	
	public SuccessBoardCommand readContent(Integer num);
	
	public SuccessBoardCommand prevReadContent(Integer num);
	
	public SuccessBoardCommand nextReadContent(Integer num);
	
	public void insertBoard(SuccessBoardCommand successBoard);
	
	public void deleteBoard(Integer num);
	
	public void updateBoard(SuccessBoardCommand successBoard);
	
	public void replyBoard(SuccessBoardCommand successBoard);
	
		
	


}
